Part Number Hot Search : 
1206G SM550 R5023 AGN20009 LE120C K4S1616 2A222KT AVAR0046
Product Description
Full Text Search
 

To Download AT43311 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 AT43311
Features
* * * * * * * * *
Self-Powered Hub with Bus Power Controller Full Compliance with USB Spec Rev 1.0 Full Speed USB Host Interface Four Downstream Ports Downstream Support for Full Speed and Low Speed Transfer Rates Continual Monitoring of Port by System Host Individual Port Power Control USB Connection Status Indicators 6 MHz Oscillator with On-Chip PLL
Description
The AT43311 is a fully compliant USB hub chip with 5 ports, one upstream port and four full/low-speed downstream ports. The AT43311 can be used as a stand alone or can provide a simple and quick method of adding USB ports to an existing device. As a repeater, the AT43311 provides upstream connectivity between the selected function and the host. Connectivity involves setting up and tearing down connections, handling bus faults, recovering from bus faults and detecting downstream device connections and disconnections. The AT43311 may also act as a hub controller managing the hub operations and recording the status of the hub, bus transactions, and downstream ports. In this mode, the AT43311 tracks and generates the bus enumeration, provides configuration information to the host, provides individual port status to the host, and controls the port operation based on host commands.
USB Hub AT43311 Preliminary
Pin Configurations
SOIC/DIP/Cerdip
PWR2 PWR3 PWR4 VCC5 VSS OSC1 OSC2 LFT VCCA OVL4 OVL3 OVL2 OVL1 VREF GND STAT4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 PWR1 DP4 DM4 DP3 DM3 GND DP2 DM2 VCC3 DP1 XDM1 DP0 DM0 STAT1 STAT2 STAT3
0738A-A
1
Block Diagram
DM0
DP0
OSC2
OSC1
LFT
VCC5 HUB CONTROLLER PORT 0 TIMING AND CONTROL VCC3 VCCA VREF Endpoint 0 PORT 1 Endpoint 1
Overcurrent Protection/ Reporting
Serial Interface Engine
HUB REPEATER
GND
PORT 2
PORT 3
PORT 4
STAT1 PWR1
OVL1
DM1 DP1
STAT2 PWR2
OVL2
DM2 DP2
OVL3
STAT3 PWR3
STAT4 PWR4
OVL4
Note:
1.
This document assumes that the reader is familiar with the Universal Serial Bus and therefore only describes the unique features of the AT43311 chip. For detailed information about the USB and its operation, the reader should refer to the Universal Serial Bus Specification Version 1.0, January 19, 1996.
2
AT43311
DM3 DP3
DM4 DP4
AT43311
Pin Description
Pin Description OSC1 OSC2 LFT Pin Type I O I Description Oscillator Input. Input to the inverting 6 MHz oscillator amplifier. Oscillator Output. Output of the inverting oscillator amplifier. PLL Filter. For proper operation of the PLL, this pin should be connected through a 100 resistor and 10 nF capacitor to ground (VSS) in parallel with a 2.2 nF capacitor (see Figure 1-Power Supply Connection). Reference Voltage. This is an input pin that should be connected to an external voltage source. VREF is used internally as the reference voltage by the overload protection circuit to decide whether there is a problem with a port's power supply. Upstream Plus USB I/O. This pin should be connected to VCC3 through an external 1.5K pullup resistor. DP0 and DM0 form the full speed differential signal pin pairs connected to the Host Controller or an upstream Hub. Upstream Minus USB I/O Port Plus USB I/O. These pins should be connected to VSS through external 1.5K resistors. DP[1:4] and DM[1:4] are the differential signal pin pairs to connect downstream USB devices. Port Minus USB I/O. These pins should be connected to VSS through external 15K resistors. DP[1:4] and DM[1:4] are the differential signal pin pairs to connect downstream USB devices. Port Overload. These are the input signals used to indicate to the AT43311 that there is a power supply problem with the port. If OVL is asserted, the AT43311 will assert the corresponding PWR[1:4] pin and report the status to the USB Host. Power Switch. These are the output signals used to enable or disable the external voltage regulator supplying power to the port. PWR[1:4] is de-asserted when a power supply problem is detected at OVL[1:4]. For proper operation of PWR[1:4], an external pull-up resistor of 10K to VCC5 is required.
VREF
I
DP0
B
DM0 DP[1:4]
B B
DM[1:4]
B
OVL[1:4]
I
PWR[1:4]
OD
STAT[1:4] VCC3 VCC5 VCCA GND
O V V V V
Connect Status. These are output pins indicating that a port is properly connected. STAT[1:4] is asserted when the port is enabled. 3.3V Power Supply, used for the USB interface 5V Power Supply, main power supply for the AT43311 5V Analog Power Supply Ground
3
USB Hub Description
Hub Repeater
The hub repeater is responsible for port connectivity setup and tear-down. The repeater also supports exception handling such as bus fault detection and recovery, and connect/disconnect detection. When a SOP token is detected on the upstream port, Port0, the AT43311 determines the speed of the transfer. A USB hub must not propagate a full speed transfer to a low speed port due to the possible misinterpretation of the data. The AT43311 will propagate the packet to all enabled downstream ports. Note: See USB Specification for further detail on bus states The AT43311 supports downstream data signaling at both 1.5 Mbps and 12 Mbps. Devices attached to the downstream ports are either full speed or low speed depending on which data line (DP or DM) is pulled high. If a port is enumerated as low speed, the output buffers operate at a slew rate between 75 ns and 300 ns. The AT43311 will not propagate any traffic to that port unless it is prefaced with a preamble PID. Low speed data following the preamble PID is propagated to both low and full speed devices. The AT43311 will enable low speed drivers within four fullspeed bit times of the last bit of a preamble PID, and will disable the drivers at the end of an EOP. The upstream traffic from any port to the host is propagated by Port0 using the full speed 4-20 ns slew rate drivers. All ports are independently driven and monitored on the DP and DM pins. The AT43311 detects or generates the `J', `K', and SE0 bus signaling states. Each hub port has single-ended and differential receivers on its DP and DM lines. The ports' I/O buffers comply to the voltage levels and drive requirements as specified in the USB Specifications Revision 1.0.
The Hub Repeater implements a frame timer that is timed by the 12 MHz USB clock and is reset every time an SOF token is received from the Host.
Hub Controller
The hub controller manages and records the operations of the AT43311. During enumeration, the controller sends the host the configuration information. The controller also allows the host to retrieve the status of the downstream ports, and power the downstream ports. The controller applies power to the downstream ports on a per port basis. After configuration, the controller will enable the power to a downstream port upon a SetPortPower command by the host. The controller supports two endpoints and a Control Status register. Serial Interface Engine The Serial Interface Engine (SIE) converts data between the serialized USB format and usable data for the controller and repeater. To carry out these tasks, the SIE is able to detect or generate USB signaling. Once a valid operation is detected, the SIE translates the data depending on the operation. During a reception, the SIE will use the high speed clock supplied by the PLL to help synchronize and separate the synchronization information from the data. The data must be decoded before the SIE may supply the packet ID to the controller and repeater. The USB protocol uses Cyclical Redundancy Check (CRC), Non Return to Zero Invert (NRZI) data encoding and bit stuffing to improve the reliability of data transfers. The SIE must decode the NRZI and strip off the stuffed bit to determine the actual data. The CRC information will be used by the SIE to determine if a transmission error has occurred. If an error has occurred, the SIE will correct the data using CRC algorithms.
Control Status Register
Bit 0 Function Hub configuration status 0 1 1 Hub remote wakeup status 0 1 2 3 Endpoint0 STALL status Endpoint1 STALL status 0 1 0 1 Value Description Set to 0 or 1 by a Set_Configuration Request Hub is not currently configured Hub is currently configured Set to 0 or 1 by ClearFeature or SetFeature request Default value is 0 Hub is currently not enabled to request remote wakeup Hub is currently enables to request remote wakeup Endpoint0 is stalled Endpoint0 is stalled Endpoint1 is not stalled Endpoint1 is stalled
4
AT43311
AT43311
Endpoint0 Endpoint0 is the AT43311's default endpoint used for enumeration of the Hub and exchange of configuration information and requests between the Host and the AT43311. Endpoint0 supports control transfers. Standard USB Device Requests and class-specific Hub Requests are supported through Endpoint0. The Hub Controller supports the following descriptors through Endpoint0 (Descriptors are described in detail in the Descriptors Section of this document): * Device Descriptor * Configuration Descriptor * Interface Descriptor * Endpoint Descriptor * Hub Descriptor Endpoint1 Endpoint1 is used by the Hub Controller to send status change information to the Host. Endpoint1 supports interrupt transfers. The Hub Controller samples the changes at the end of every frame at time marker EOF2 in preparation for a potential data transfer in the subsequent frame. The sampled information is stored as a byte in Status Change Register using a bitmap scheme. Each bit in the Status Change Register corresponds to one port as shown below. An IN Token packet from the Host to Endpoint1 indicates a request for port change status. If the Hub has not detected any change on the ports or any changes in the hub itself, then all bits in this register will be 0 and the Hub Controller will return a NAK to requests on Endpoint1. If a change in the port status exists, the Hub Controller will transfer the whole byte. The Hub Controller will continue to report a status change when polled until that particular change has been removed by a ClearPortFeature request from the Host. No status change will be reported by Endpoint1 until the AT43311 has been enumerated and configured by the Host through Endpoint0.
Power Management
The AT43311 is designed to be powered from the USB bus. As such, the power consumption for the AT43311 itself is less than 100 mA. However, downstream devices require separate power supplies. The AT43311 monitors and controls each power supply to the individual downstream devices. Careful design and selection of the power switch is required to meet the USB specification. The USB specifications requires that the voltage drop at the power switch be no more than 100 mV. USB requirements specify that a downstream device may use a maximum of 500 mA. These conditions are best met by using a MOSFET switch with an on resistance of 200 m or less. As a sample power circuit, consider a P-channel enhancement mode MOSFET. The condition of the port's power is monitored at the output side of the PMOS switch which is connected to the port's OVL[1:4] pin. During an overcurrent condition, the MOSFET switch's internal resistance causes the MOSFET's output voltage to drop at the OVL[1:4] pin. If the MOSFET's output voltage drops to less than the voltage at the VREF voltage reference pin, the AT43311 interprets this drop as an overcurrent condition. The AT43311 does internal filtering to make sure that spurious or switching transients are ignored. If an overcurrent condition exists, the AT43311 removes the power from that port by de-activating the port's PWR[1:4] pin and reports the condition to the Host.
Status Change Register
Bit 0 1 Function Hub status change Port1 status change Value 0 1 0 1 0 1 0 1 0 1 0 Meaning No change in status Change in status detected No change in status Change in status detected No change in status Change in status detected No change in status Change in status detected No change in status Change in status detected Default values
2 3 4 5-7
Port2 status change Port3 status change Port4 status change Reserved
5
Figure 1. Power Supply Connection
3V REG. From upstream power regulator
VCC5
GND
VCC3
AT43311
5.5V
VREF
PWR
OVL
DP
DM
STAT
To downstream device
5V POWER SUPPLY
VCC5 VSS
Figure 1 illustrates an example of the power supply connection for a AT43311 port. Careful consideration must be taken to avoid large ground current surges. There is the possibility that the upstream device and the self powered device will be sourced from different electrical power outlets which share no common ground. When designing the local power supply for the AT43311 or a self powered device, local 5V power must be isolated. This isolation can be achieved through a transformer or by proper design of the switching power supply. The GND of the Hub or device can then be safely connected to the upstream ports ground line for proper operation of the USB signals. Even though the devices in a USB network share a common ground (VSS), the two 5V supply voltages of the AT43311 based hub (the upstream's bus power and the local power) must not be connected under any condition. Port [1:4] Power Control Each port has signals for port power management and for port status feedback (PWR[1:4], OVL[1:4], and STAT[1:4]). The AT43311 monitors and switches the power to each port individually. PWR[1:4] are open drain outputs that control the power to the downstream ports. The AT43311 asserts a low value to ports PWR[1:4] to turn on the power to the port. During 6
power up, reset, and initialization of the Hub, PWR[1:4] is in-active. PWR[1:4] is asserted when the Host instructs the Hub to power the port through the SetPortPower = ON command. Additionally PWR[1:4] is de-asserted by the Hub when an overcurrent condition is detected at the port. For proper operation of PWR[1:4], an external pull-up resistor to VCC5 is required for PWR[1:4] pins. To control the power to the port, any switch with a low voltage drop with full power applied is acceptable. The AT43311 is designed for a simple, low cost P-channel MOSFET to use as the switch. To detect a port overload, the AT43311 compares OVL[1:4] to a common VREF defined by the designer. OVL[1:4] should be attached to the power supply of the respective downstream port. If OVL[1:4] drops below the reference voltage VREF for more than 1 ms, the AT43311 treats the drop in voltage as a fault condition on the port's power supply. Upon this fault condition, the AT43311 sets the port's PORT_OVER_CURRENT status bit and the port's C_PORT_OVER_CURRENT bit. The AT43311 will additionally shut off the power to the port by de-activating the port's PWR[1:4] signal. The STAT[1:4] pins are not required by the USB specification. STAT[1:4] provide feedback to the user whenever a device is properly connected to the port. An LED and series resistor connected to STAT[1:4] can be used to provide
AT43311
AT43311
visual feedback. The default state of STAT[1:4] is inactive. After a port is enabled AT43311 will assert the port's STAT[1:4]. Figure 2 shows how to properly connect the oscillator for the AT43311. Ceramic resonators are not recommended due to the frequency stability required by the USB specification (0.25%). If desired, the clock can be externally sourced. To clock externally, connect the clock source to the OSC1 pin, while leaving the OSC2 pin floating. The switching level at the OSC1 pin can be as low as 0.47V (see electrical specifications). A CMOS device is required to drive this pin to maintain good noise margins at the low switching level. For proper operation of the PLL, see Figure 1-Power Supply Connection. To provide the best operating condition for the AT43311, careful consideration of the power supply connections are recommended. Use short, low impedance connections to all power supply lines: VCC5, VCC3, VCCA, and VSS with 0.1 F decoupling capacitors of high quality adjacent to the device pins.
Oscillator and Phase-Locked-Loop
To reduce EMI and power dissipation in the system, the AT43311 on-chip oscillator is designed to operate with a 6 MHz external crystal. An on-chip PLL generates the high frequency for the clock/data separator of the Serial Interface Engine. In the suspended state, the oscillator circuitry is turned off. A 6 MHz parallel resonance quartz crystal with a load capacitance of approximately 10 pF is recommended. If the crystal load capacitor is larger, external capacitors added to pins OSC1 and OSC2 are recommended. The values for these capacitors depends on the crystal and the layout of the board, but typically are 33 pF at OSC1 and 47 pF at OSC2. If the crystal used cannot tolerate the drive levels of the oscillator, a series resistor between OSC2 and the crystal pin may be used. Figure 2. Oscillator and PLL Connection
Descriptors
The Hub Controller supports the following standard USB descriptors: Device, Configuration, Interface, and Endpoint Descriptors, as well as the class specific Hub Descriptor. All the required Standard Requests and Hub Class-Specific Requests are supported by the AT43311's Hub Controller.
7
Device Descriptor
The Device Descriptor provides general information about the AT43311 Hub. Offset 0 1 2 4 5 6 7 9 10 12 Field bLength bDescriptorType bcdUSB bDeviceClass bDeviceSubClass bDeviceProtocol wMaxPacketSize0 idVendor idProduct bcdDevice Description Define size of descriptor = 18 bytes Device descriptor type USB Spec. Release Number = Rev 1.0 Class code = HUB_CLASSCODE = 09 Subclass code Protocol code Max. packet size for Endpoint0 = 8-bytes Vendor ID = Atmel Corporation Product ID = AT43311 Device release number Example: Rev A0 YY = 01 Rev B1 YY = 02 Index of string descriptor describing manufacturer = not supported Index of string descriptor describing product = not supported Index of string descriptor describing device's serial no. = not supported Number of possible configurations = 1 Size (bytes) 1 1 2 1 1 1 1 2 2 2 ZZ = 00 ZZ = 01 1 1 1 1 Value 12H 01H 00H 01H 09H 00H 00H 08H EBH 03H 11H 33H ZZH YYH 00H 00H 00H 01H
14 15 16 17
iManufacturer iProduct iSerialNumber bNumConfigurations
8
AT43311
AT43311
Configuration Descriptor
This Configuration Descriptor provides information about the AT43311's configuration. Offset 0 1 2 Field bLength bDescriptorType wTotalLength Description Define size of this descriptor = 9 bytes Descriptor type = Configuration Total length of data returned for this configuration. Consists of the combined length of configuration, interface, endpoint and hub descriptors = 52 bytes Number of interfaces supported by this configuration. Argument value for this configuration to be used by Set Configuration command Index of string descriptor describing this configuration (not supported). Configuration characteristics = Bus and Self Powered with Remote Wakeup Maximum power consumption of USB device from bus = 100 mA Size (bytes) 1 1 2 Value 09H 02H 22H 00H
4 5 6 7 8
bNumInterface bConfigurationValue iConfiguration bmAttributes MaxPower
1 1 1 1 1
01H 01H 00H E0H 32H
Interface Descriptor
The Interface Descriptor provides information about the single interface which the AT43311 supports. Offset 0 1 2 3 4 5 6 7 8 Field bLength bDescriptorType bInterfaceNumber bAlternateSetting bNumEndpoints bInterfaceClass bInterfaceSubClass bInterfaceProtocol iInterface Description Define size of this descriptor = 9 bytes. Descriptor type = Interface Number of interface = 1, index = 0 Alternate setting value for the interface identified in the prior field = 0 Number of endpoints used by this interface = 1 Class code = HUB_CLASSCODE = 09 Subclass code = 0 Protocol code = 0 Index of string descriptor describing this interface = not supported Size (bytes) 1 1 1 1 1 1 1 1 1 Value 09H 04H 00H 00H 01H 09H 00H 00H 00H
9
Endpoint Descriptor (1)
The Endpoint Descriptor describes the Endpoint1 Descriptor which the Hub uses for status change report. Offset 0 1 2 3 4 6
Note:
Field bLength bDescriptorType bEndpointAddress bmAttributes wMaxPacketSize bInterval
Description Define size of this descriptor = 7 bytes Descriptor type = endpoint The address of the IN endpoint Endpoint1 attribute =IN, Interrupt Transfer Max. packet size Endpoint1 is capable of sending = 1 byte Interval for polling endpoint for data transfers
Size (bytes) 1 1 1 1 2 1
Value 07H 05H 81H 03H 01H 00H FFH
1. There is no endpoint descriptor for Endpoint0.
Hub Descriptor
The Hub Descriptor describes the AT43311's Hub and ports. Offset 0 1 2 3 Field bDescLength bDesriptorType bNbrPorts wHubCharacteristics Definition Define size of this descriptor = 9 bytes Descriptor Type = HUB_DESCRIPTOR = 29 Number of downstream ports = 4 Hub's characteristics: = Individual power switching = Hub is not part of a compound device = Individual Port Over-current Protection Time from the time power-on sequence begins on a port until power is good on that port = 100 ms. Maximum current requirements of the hub electronics = 100 mA. Indicates if a port has removable device. All downstream ports have removable devices Indicates if a port is not affected by gang-mode power control request. All the AT43311's ports require manual SetPortFeature (PORT_POWER) request to control the port's power state. Size (bytes) 1 1 1 2 Value 09H 29H 04H 09H 00H
5
bPwrOn2PwrGood
1
32H
6 7 8
bHubContrCurrent DeviceRemovable PortPwrCtrlMask
1 1 1
64H 00H 1EH
10
AT43311
AT43311
Standard Requests
All required Standard Requests are supported by the AT43311. Standard Requests, or commands, are sent to the AT43311 from the Host on the AT43311's default pipe, endpoint0. These requests are made using control transfers to endpoint0. The request and request parameters are sent in a Setup packet which consists of eight bytes. The following sections describe which requests are supported by the AT43311 and the corresponding responses as well as those requests not supported and responded with a STALL packet.
Clear Endpoint Feature
The Clear Endpoint Feature request causes the AT43311 to clear an endpoint's stall status bit if the condition causing the stall has been removed. A Clear Endpoint Feature occurs if a setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 wLength Byte 6 Byte 7 Value x0000002B 01H 00H 00H 00H for EP0 81H for EP1 00H 00H 00H
Clear Device Feature
A Clear Device Feature will disable its remote wakeup feature when the setup packet is: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0000000B 01H 01H 00H 00H 00H 00H 00H
Get_Configuration
Get_Configuration returns one byte of data. Bit 0 will be a copy of bit 0 of the Controller_Status Register. All other bits will be set to 0. This action will be taken, if the Setup packet from host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10000000B 08H 00H 00H 00H 00H 01H 00H
Clear Interface Feature
AT43311 does not support this feature and will respond with a STALL if a setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0000001B 01H xxH xxH xxH xxH xxH xxH
11
Get_Descriptor
Get_Descriptor returns the requested descriptor. The last word of the Get_Descriptor request specifies the number of bytes the AT43311 is to return. If the requested descriptor is longer than the requested number of bytes, AT43311 will return only the requested number of bytes from the top of the descriptor. If the requested descriptor is shorter than the requested number of bytes, then the AT43311 indicates the end of the control transfer by sending a short data packet. The requested number of bytes from the top of AT43311's Device Descriptor will be returned, if the Setup packet from host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10000000B 06H 00H 01H 00H 00H # of bytes requested
Get_Interface
The AT43311 has a single interface with a value of 0. If it receives a Get_Interface Request with the value of 0000H as wIndex (bytes 2 and 3), the AT43311 will return a single byte with a value of 00H. For any other value of wIndex the AT43311 will return a STALL. Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10000001B 0AH 00H 00H 00H 00H 01H 00H
Get Device Status
If the Setup packet from host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10000000B 00H 00H 00H 00H 00H 02H 00H
The requested number of bytes from AT43311's Configuration Descriptor, Interface Descriptor, and Endpoint Descriptor will be returned, if the Setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10000000B 06H 00H 02H 00H 00H # of bytes requested
The Hub will return two bytes of data, byte 0 and byte 1, in little endian order: Byte 0, Bit 0 = 1, identifying the AT43311 as a self powered device. Byte 0, Bit 1 = copy of bit 1 of the Controller_Status Register. This bit reflects whether the AT43311's remote wakeup capability is enabled or disabled. All other bits are set to 0.
12
AT43311
AT43311
Get Interface Status
If the Setup packet from host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10000001B 0x00 0x00 0x00 0xxx 0xxx 0x02 0x00
Set_Address
Set_Address sets the Hub's address. The AT43311 will save the value of bytes 2 and 3 into a temporary buffer. After successful completion of the status stage, the AT43311 transfers the temporary value into the Hub_Address Register. The Hub_Address will be used as the Hub's address in all future transactions. Set_Address will occur if the Setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0000000B 05H Device Address 00H 00H 00H 00H
The Hub will respond with two bytes of data with all 0 value.
Get Endpoint Status
Get Endpoint Status returns two-bytes of data indicating the stall status of the endpoint. The first bit of the first byte returned reflects the status of the endpoint stall status bits of the Controller_Status Register described in section 3.6. These bits are set or cleared depending whether the endpoint is stalled or not: Current Endpoint Status Stalled Not stalled First Byte 01H 00H Second Byte 00H 00H
Set_Configuration
Set_Configuration sets bit 0 of the Controller_Status Register according to the value of byte 2 of the Setup packet. The AT43311 has only one configuration. The AT43311 will only set the bit if byte 2 is either 00H or 01H, and bytes 3 to 7 are all zeroes. For all other values, the Hub will respond with a STALL handshake packet. Set_Configuration occurs if the Setup packet from host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0000000B 09H 00H or 01H 00H 00H 00H 00H 00H
Get Endpoint Status will execute if the following setup packet is decoded as: Field bmRequestType bRequest wValue wIndex Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 wLength Byte 6 Byte 7 Value 10000010B 00H 00H 00H x0000001B for EP0 10000001B for EP1 00H 02H 00H
13
Set_Descriptor
The AT43311 does not support this request. In response to this request, the AT43311 will send a STALL handshake packet. The Set_Descriptor occurs if the Setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 00000000B 07H xxH xxH xxH xxH xxH xxH
Set Endpoint Feature
Set Endpoint Feature sets the stall status bit of the Controller_Status Register. The stalled endpoint will exhibit the same behavior as in a stall condition. This feature is activated if a setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 wLength Byte 6 Byte 7 Value x0000010B 03H 00H 00H 00H for EP0 81H for EP1 00H 00H 00H
Set Device Feature
Set Device Feature enables the remote wakeup feature if a setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0000000B 03H 01H 00H 00H 00H 00H 00H
Set_Interface
The AT43311 has a single interface and responds with a STALL handshake packet if a Set_Interface request is received with a value other than 0000H as a wValue (bytes 2 and 3). Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0000001B 0BH 00H 00H 00H 00H 00H 00H
Set Interface Feature
AT43311 does not support this feature and will respond with a STALL if a setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0000001B 03H xxH xxH xxH xxH xxH xxH
Sync_Frame
This request is for endpoints with isochronous transfers only which the AT43311 does not support. AT43311 will send a STALL packet if the setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10000001B 0CH xxH xxH xxH xxH xxH xxH
14
AT43311
AT43311
Hub-specific Requests
All required Hub-specific requests are supported by the AT43311's Hub Controller. Hub-specific requests or commands are sent from the Host to the AT43311 using the default pipe (Endpoint0). Hub-specific requests are made using control transfers. The request and request parameters are sent in a setup packet consisting of eight bytes.
Clear_Port_Feature
Clear_Port_Feature disables a port feature. Note that only the relevant Clear Port commands are supported (see CLEAR_PORT Features Table). For example, the PORT_LOW_SPEED value is determined by the operation of the port of the attached device. Upon an in va li d r eq ue s t ( e .g. a C LE AR _P O RT r equ es t fo r PORT_LOW_SPEED), the AT43311 will return a STALL status to the host. CLEAR_PORT Features Table Port Feature PORT_CONNECTION PORT_ENABLE PORT_SUSPEND PORT_OVER_CURRENT PORT_RESET PORT_POWER PORT_LOW_SPEED ClearPort Feature N Y Y Y N Y N SetPort Feature N Y Y N Y Y N
Clear_Hub_Feature
Clear_Hub_Feature resets a value reported in the Hub Controller status. The status relates to the local power and over current. AT43311 is a self-powered hub with a buspowered SIE and does not report over-current on a global basis. The Hub Controller will disable the reporting of Local Power Status (C_HUB_LOCAL_POWER) if the setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0100000B 01BH 00H 00H 00H 00H 00H 00H
The Hub Controller will respond to a Clear Port Feature request if the setup packet from the Host is decoded as: Field bmRequestType bRequest wValue Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0100011B 01H See Port Feature Selector Table Port Number 00H 00H
AT43311 will respond with a STALL if the setup packet from the Host requests the Hub Controller to clear the Over Current Indicator (C_HUB_OVER_CURRENT): Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0100000B 01H 01H 00H 00H 00H 00H 00H
wIndex wLength
15
Port Feature Selector Table Feature PORT_CONNECTION PORT_ENABLE PORT_SUSPEND PORT_OVER_CURRENT PORT_RESET PORT_POWER PORT_LOW _SPEED C_PORT_CONNECTION C_PORT_ENABLE C_PORT_SUSPEND C_PORT_OVER_CURRENT C_PORT_RESET Value 00H 01H 02H 03H 04H 08H 09H 10H 11H 12H 13H 14H
Get_Hub_Descriptor
Get_Hub_Descriptor returns the Hub Descriptor. The last word of the Get_Hub_Descriptor request specifies the number of bytes AT43311 is to return. If the requested number of bytes is less than the 9-bytes length of the Hub Descriptor, AT43311 will return only the requested number of bytes from the top of the descriptor. If the requested number of bytes is more than 9, then the returned data will be padded with trailing bytes of zeroes. This action will be taken if the Setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10100000B 06H 29H 00H 00H 00H Number of Bytes Requested
The Hub Controller will respond with a STALL if Port0 or a port higher than Port4 is addressed in this request.
Get_Bus_State
When a Get_Bus_State is detected, the Hub Controller will sample the bus status of Ports 1, 2, 3 and 4, at each EOF2 and will store the value in a register known as the Port_Bus_State registers. The value of the D- signal (pin DM[1:4]) will be in bit 0 and the value of the D+ signal (DP[1:4]) will be in bit 1of each port's Port_Bus_State register. All other bits will be 0. The values of these two register bits will be transferred to the Host upon receipt of the Get_Bus_State request, if the setup packet from Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10100011B 02H 00H 00H Port Number 01H 00H
The Hub Controller will respond with a STALL if Port0 or a port higher than Port4 is addressed in this request.
16
AT43311
AT43311
Get_Hub_Status
Get_Hub_Status returns the current Hub status that has changed since the previous acknowledgment of the setup packet of the Host. The Hub will returned two words of data as described in the following two tables. Word0 is the Hub Status Field, wHubStatus, and Word1 is the Hub Change Field,wHubChange. Hub Status Field, wHubStatus Bit 0 Description Local Power Status, indicates the state of the local power supply 0 = Local power supply good 1 = Local power supply lost Over-Current Indicator, indicates over-current condition on a global hub basis. AT43311 reports over current condition on a per port basis therefore this bit is always read as 0 Reserved. Always read as 0's
1 2-15
Hub Change Field, wHubChange Bit 0 Description Local Power Status Change, C_HUB_LOCAL_POWER, corresponds to bit 0 of wHubStatus 0 = No change has occurred in local power status 1 = Local power status has changed Over-Current Indicator Change, C_HUB_OVER_CURRENT, corresponds to bit 1 of wHubStatus. AT43311 reports over current condition on a per port basis and therefore this bit is always read as 0 Reserved. Always read as 0's.
1 2-15
A Get_Hub_Status will occur if the setup packet is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10100000B 00H 01H 00H 00H 00H 04H 00H
17
Get_Port_Status
Get_Port_Status returns the current port status and the states that have changed since the previous acknowledgment. The AT43311 returns two words of data as described in the following two tables. Word0 is the Port Status Field, and Word1 is the Port Change Field. The AT43311 will respond with a STALL if Port0 or a port higher than Port4 is addressed in this request. Port Status Field, wPortStatus Bit 0 Description Current Connect Status: PORT_CONNECTION 0 = no device present on this port 1 = a device is present on this port Port Enabled/Disabled: PORT_ENABLE 0 = Port is disabled 1 = Port is enabled Suspend: PORT_SUSPEND 0 = Not suspended 1 = Suspended Over-Current Indicator: PORT_OVER_CURRENT 0 = Power operation normal for this port 1 = Over-current condition exists for this port. Power to this port has been shut off. Reset: PORT_RESET 0 = Reset signalling not asserted 1 = Reset signalling asserted Reserved. Always read as 0's. Port Power: PORT_POWER 0 = This port is powered OFF 1 = This port is powered ON Low Speed Device Attached: PORT_LOW_SPEED 0 = Full Speed device attached to this port 1 = Low Speed device attached to this port Reserved. Always read as 0's
1
2
3
4 5-7 8
9 10-15
18
AT43311
AT43311
Port Change Field, wPortChange Bit 0 Description Connect Status Change: C_PORT_CONNECTION 0 = No change has occurred on Current Connect status 1 = Current Connect Status has changed Port Enable/Disable Change: C_PORT_ENABLE 0 = No change has occurred on Port Enabled/Disabled status 1 = Port Enabled/Disabled status has changed Suspend Change: C_PORT_SUSPEND 0 = No change 1 = Resume complete Over-Current Indicator Change: C_PORT_OVER_CURRENT 0 = No change has occurred on Over-Current indicator 1 = Over-Current indicator has changed Reset Change: C_PORT_RESET 0 = No change 1 = Reset complete Reserved. Always read as 0's.
1
2
3
4 5-15
Get_Port_Status occurs if the setup packet from host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 10100011B 00BH 00H 00H Port Number 04H 00H
Set_Hub_Feature
Set_Hub_Feature sets a value reported in the Hub status. The status relates to the local power and over current. The AT43311 is a self powered hub with its SIE powered from the bus. The AT43311 will respond with a STALL if the setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0100000B 03H xxH xxH xxH xxH xxH xxH
Set_Hub_Descriptor
The AT43311 has only one Hub Descriptor. Therefore the AT43311 does not support this request. It will respond with a STALL if the Setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value 00100000B 07H xxH xxH xxH xxH xxH xxH wLength
19
Set_Port_Feature
Set_Port_Feature sets a value reported in the Hub Controller's port status. The AT43311 supports all USB required features. Note that only the relevant Set Port commands are supported (see SET_PORT Features Table). For example, the PORT_LOW_SPEED value is determined by the operation of the port of the attached device. Upon an invalid request (e.g. a Set_PORT request for PORT_LOW_SPEED), the AT43311 will return a STALL status to the host. SET_PORT Features Table Port Feature PORT_CONNECTION PORT_ENABLE PORT_SUSPEND PORT_OVER_CURRENT PORT_RESET PORT_POWER PORT_LOW_SPEED ClearPort Feature N Y Y Y N Y N SetPort Feature N Y Y N Y Y N
Port Feature Selector Table Feature PORT_CONNECTION PORT_ENABLE PORT_SUSPEND PORT_OVER_CURRENT PORT_RESET PORT_POWER PORT_LOW _SPEED C_PORT_CONNECTION C_PORT_ENABLE C_PORT_SUSPEND C_PORT_OVER_CURRENT C_PORT_RESET Value 00H 01H 02H 03H 04H 08H 09H 10H 11H 12H 13H 14H
The status relates to the port features as listed in the Port Feature Table. AT43311 will respond to Set Port Feature command if the setup packet from the Host is decoded as: Field bmRequestType bRequest wValue wIndex wLength Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Value x0100011B 03H See Port Feature Selector Table Port Number 00H 00H
20
AT43311
AT43311
Absolute Maximum Ratings
Operating Temperature .....................-55C to +125C Storage Temperature ........................-65C to +150C Voltage on any pin with Respect to Ground ................................. -0.5V to 7.0V Maximum Operating Voltage ................................6.6V DC Output Current ............................................16 mA
*NOTICE: Stresses beyond those listed below may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
DC Characteristics
The values shown in this table are valid for TA = 0C to 85C, VCC5 = 4.4 to 5.25V, VCC3 = 3V 5%, unless otherwise noted.
Power Supply
Symbol VCC5,VCCA VCC3 ICC5 ICC3 ICCS Parameter 5V Power Supply 3V Power Supply 5V Supply Current 3V Supply Current Suspended Device Current Condition Min 4.40 3.15 Max 5.25 3.45 100 250 250 Unit V V mA A A
USB Signals: DPx, DMx
Symbol ILO VDI VCM VSE VOL1 VOH1 Parameter Hi-Z Data Line Leakage Differential Input Sensitivity Differential Common Mode Range Single Ended Receiver Threshold Static Output Low Voltage Static Output High Voltage RL of 1.5K to 3.6V RL of 15K to GND 2.8 Condition 0V < VIN < 3.3V DPx and DMx Min -10 0.2 0.8 0.8 2.5 2.0 0.3 3.6 Max +10 Unit A V V V V V
PWR[1:4], STAT[1:4]
Symbol VOL1 VOH1 VOL2 COUT Parameter Output Low Level, STAT[1:4] Output High Level, STAT[1:4] Output Low Level, PWR[1:4] Output capacitance Condition IOL = 8 mA IOH = 8 mA IOL = 4 mA 1 MHz VCC5 - 0.5V 0.5 10 Min Max 0.5 Unit V V V pF
21
Oscillator Signals: OSC1, OSC2 (1)
Symbol fOSC VLH VHL CX1 CX2 C1/2 tSU DL
Note:
Parameter Oscillator Frequency OSC1 switching level OSC1 switching level Input capacitance, OSC1 Output capacitance, OSC2 OSC1/2 capacitance Start-up time Drive level
Condition 6 MHz 0.25%
Min 5.985 0.47 0.67
Max 6.015 1.20 1.44 9 9 1
Unit MHz V V pF pF pF ms mW
6 MHz, fundamental VCC5 = 5V, 6 MHz crystal, 120 equiv series resistor
10 5
1. OSC2 must not be used to drive other circuitry.
Comparator Signals: VREF, OVL[1:4]
Symbol VOS AO CMIRL CMIRH CMRR CINR CINL Parameter Input Offset voltage Open loop gain Input CM range low Input CM range high CM rejection ratio Input capacitance, VREF# Input capacitance, all other 1 KHz VCC5 92 10 6 Condition Min -20 80 0 Max +20 Unit mV dB V V dB pF pF
AC Characteristics
Dpx, Dmx Driver Characteristics, Full Speed Operation
Symbol TR TF TRFM VCRS ZDRV Parameter Rise time Fall time TR/TF matching Output signal crossover Driver output resistance Steady state drive Condition CL = 50 pF CL = 50 pF Min 4 4 90 1.3 28 Max 20 20 110 2.0 43 Unit ns ns % V
22
AT43311
AT43311
Dpx, Dmx Data Source Timings, Full Speed Operation
Symbol TDRATE TFRAME TDJ1 TDJ2 TEOPT TDEOP TJR1 TJR2 TEOPR1 TEOPR2 Parameter Full Speed Data Rate Frame Interval Source Diff Driver Jitter To Next Transition For Paired Transitions Source EOP Width Differential to EOP Transition Skew Recvr Data Jitter Tolerance To Next Transition For Paired Transitions EOP Width at Receiver Must Reject as EOP Must Receive as EOP Condition Average Bit Rate Min 11.97 0.9995 -3.5 -4.0 160 -2 Max 12.03 1.0005 3.5 4.0 175 5 Unit Mbs ms ns ns ns ns ns ns ns ns
-18.5 -9 40 82
18.5 9
DPx, DMx Driver Characteristics, Low Speed Operation
Symbol TR TR TF TF TRFM VCRS Parameter Rise time Rise time Fall time Fall time TR/TF matching Output signal crossover Condition CL = 50 pF CL = 350 pF CL = 50 pF CL = 350 pF 80 1.3 75 300 120 2.0 Min 75 300 Max Unit ns ns ns ns % V
Dpx, Dmx Hub Timings, High Speed Operation
Symbol THDD1 THDD2 THDJ1 THDJ2 TSOP TEOPD THESK Parameter Hub Differential Data Delay with cable without cable Hub Diff Driver Jitter To Next Transition For Paired Transitions Data Bit Width Distortion after SOP Hub EOP Delay Relative to THDD Hub EOP Output Width Skew -3 -1 -5 0 -15 Condition
Min Max Unit
70 40 3 1 3 15 15
ns ns ns ns ns ns ns
23
Dpx, Dmx Hub Timings, Low Speed Operation
Symbol TLHDD TLHDJ1 TLHDJ2 TSOP TLEOPD TLHESK Parameter Hub Differential Data Delay Downstr Hub Diff Driver Jitter To Next Transition For Paired Transitions Data Bit Width Distortion after SOP Hub EOP Delay Relative to THDD Hub EOP Output Width Skew -45 -15 -60 0 -300 Condition Min Max 300 45 15 45 200 300 Unit ns ns ns ns ns ns
24
AT43311


▲Up To Search▲   

 
Price & Availability of AT43311

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X